home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / c / gnulib / sun3.md / _builtin_new.s < prev    next >
Text File  |  1989-10-21  |  543b  |  31 lines

  1.         .data
  2.         .text
  3. LL0:
  4. |#PROC# 022
  5.  
  6.         LF13    =       4
  7.         LS13    =       0
  8.         LFF13   =       4
  9.         LSS13   =       0
  10.         LP13    =       12
  11.         .data
  12.         .text
  13.         .globl  ___builtin_new
  14. ___builtin_new:
  15. |#PROLOGUE# 0
  16.  
  17.         link    a6,#-4
  18. |#PROLOGUE# 1
  19.  
  20.         movl    a6@(8),sp@-
  21.         jbsr    _malloc
  22.         addqw   #4,sp
  23.         movl    d0,a6@(-4)
  24.         jne     L16
  25.         movl    ___new_handler,a0
  26.         jsr     a0@
  27. L16:
  28.         movl    a6@(-4),d0
  29.         unlk    a6
  30.         rts
  31.